﻿<%@ Page Title="家乐福——宝宝照片" Language="C#" MasterPageFile="~/MasterPageNavStepTwoCol.master"
    AutoEventWireup="true" CodeBehind="ViewBaby.aspx.cs" Inherits="WebSite.ViewBaby" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
    <script src="js/baby.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        
        <div class="twobabyphoto">
            <div>
                <img class="single img1 wbshare" src="<%= babyA.BabyHeadImg %>" alt="" />
                <img class="single img2" src="/images/babygroup/waitselect_318.png" alt="" />
            </div>
            <%--<div class="centertext">
                <div class="hgiconc">
                    <a href="/LookingForTeam.aspx">
                        <img class="gogroup" src="images/BabyGroup/gogroup.png" />
                    </a>
                </div>
            </div>--%>
        </div>
           
        <div class="babygrouptitle">
            <span class="Top ft_14">
                <%= curTeam == null ? babyA.BabyTeamName : curTeam.TeamName %></span>
        </div>
        <div class="babygroupslogan">
            <div class="Yahei slogantext">
                <%= babyA.BabyTeamDeclaration %></div>
        </div>
        <div class="twobabyintro">
            <div>
                <div class="babyintro baby1">
                    <div class="orange ft_bold">
                        *宝宝编号为
                        <%= babyA.Id %></div>
                    <div class="textpart">
                        <p>
                            宝宝姓名：<%= babyA.BabyName %></p>
                        <p>
                            生日：<%= Common.NullableHelper.CastValueType( babyA.BabyBirthday ).ToString("yyyy-MM-dd") %></p>
                        <p>
                            年龄：<%= WebSite.Core.AgeCalcHelper.AgeCalc( babyA.BabyBirthday ) %></p>
                        <p>
                            性别：<%= Common.NullableHelper.CastValueType( babyA.BabySex ) ==1 ? "男" : "女" %></p>
                        <p>
                            城市：<%=babyA.LiveProvince %></p>
                    </div>
                    <div>
                        &nbsp;</div>
                    <div class="orange ft_bold">
                        宝宝介绍：</div>
                    <div>
                        <p>
                            <%= babyA.Introduction %></p>
                    </div>
                </div>
                <div class="babysepar">
                </div>
                <div class="babyintro baby2">
                    <div class="orange ft_bold">
                        *宝宝编号为
                        <%= babyB == null ? "" : babyB.Id.ToString() %></div>
                    <div class="textpart">
                        <p>
                            宝宝姓名：<%= babyB == null ? "" : babyB.BabyName%></p>
                        <p>
                            生日：<%= babyB == null ? "" : Common.NullableHelper.CastValueType( babyB.BabyBirthday ).ToString( "yyyy-MM-dd" )%></p>
                        <p>
                            年龄：<%= babyB == null ? "" : WebSite.Core.AgeCalcHelper.AgeCalc( babyB.BabyBirthday )%></p>
                        <p>
                            性别：<%= babyB == null ? "" : Common.NullableHelper.CastValueType( babyB.BabySex ) == 1 ? "男" : "女"%></p>
                        <p>
                            城市：<%= babyB == null ? "" : babyB.LiveProvince%></p>
                    </div>
                    <div>
                        &nbsp;</div>
                    <div class="orange ft_bold">
                        宝宝介绍：</div>
                    <div>
                        <p>
                            <%= babyB == null ? "" : babyB.Introduction%></p>
                    </div>
                </div>
                <div class="clearfloat"></div>
            </div>
        </div>
        <div class="babygrouptitlehighlight">
            <%--<div>
                <img src="images/BabyGroup/grouptitle.png" />
            </div>
            <div>
                <img src="images/BabyGroup/demo_upload.png" />
            </div>
            <div class="lefttext">
                <img src="images/BabyGroup/uploadintro.png" />
            </div>--%>
        </div>
        <div class="PhotoGroup">
            <div class="PhotoGroupText">
                <div class="yahei Text" style="">
                    <%= babyA.BabyName %></div>
            </div>
            <div class="PhotoGroupItem">
                <img class="wbshare" src="<%= babyAHeadImage %>" />
            </div>
            <div class="PhotoGroupItem">
                <img class="wbshare" src="<%=babyALiveImage1 %>"  />
            </div>
            <div class="PhotoGroupItem">
                <img class="wbshare" src="<%=babyALiveImage2 %>"  />
            </div>
             <div class="clearfloat"></div>
        </div>
        <div class="PhotoGroup">
            <div class="PhotoGroupText">
                <div class="yahei Text" style="">
                    <%=babyB == null ? "" : babyB.BabyName %></div>
            </div>
            <div class="PhotoGroupItem">
                <img src="<%= babyBHeadImage %>" />
            </div>
            <div class="PhotoGroupItem">
                <img src="<%=babyBLiveImage1 %>"  />
            </div>
            <div class="PhotoGroupItem">
                <img src="<%=babyBLiveImage2 %>"  />
            </div>
             <div class="clearfloat"></div>
        </div>
    </div>
</asp:Content>
